package com.gitee.sop.layui.adminserver.module.background.admin.entity;





import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
* @author: admin
* @date: 2020-04-24
* @version: 1.0.0
*/
@Data
@Accessors(chain = true)
public class SysUserMenuRoleRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private  Integer  id;

    /**
     * 用户uuid 使用用户的uuid关联功能角色，目的是：可使关联用户为多种类型的用户
     */
    private  String  userUuid;

    /**
     * 角色uuid
     */
    private  String  roleUuid;
    /**
     * 应用id，标识数据所属应用
     */
    private String appId;

    public SysUserMenuRoleRelation(String appId,String userUuid, String roleUuid ) {
        this.appId = appId;
        this.userUuid = userUuid;
        this.roleUuid = roleUuid;
    }
}
